/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.adv;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 乐看主页分类Entity
 * @author 罗天文
 * @version 2018-03-23
 */
public class HkLoveSeeCategory extends DataEntity<HkLoveSeeCategory> {
	
	private static final long serialVersionUID = 1L;
	private String imgSrc;		// 图片地址
	private String imgLinks;		// H5链接
	private String imgNote;		// 图片说明
	private String imgRank;		// 图片序号
	private String state;		// 状态
	private String mediaCategory;		// 自媒体类别
	private String enterpriseCategory;		// 企业类别
	private String cityCategory;		// 城市类别
	private String traditionCategory;		// 传统类别
	private Date beginUpdateDate;		// 开始 更新时间
	private Date endUpdateDate;		// 结束 更新时间
	
	public HkLoveSeeCategory() {
		super();
	}

	public HkLoveSeeCategory(String id){
		super(id);
	}

	@Length(min=0, max=200, message="图片地址长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
	@Length(min=0, max=200, message="H5链接长度必须介于 0 和 200 之间")
	public String getImgLinks() {
		return imgLinks;
	}

	public void setImgLinks(String imgLinks) {
		this.imgLinks = imgLinks;
	}
	
	@Length(min=0, max=200, message="图片说明长度必须介于 0 和 200 之间")
	public String getImgNote() {
		return imgNote;
	}

	public void setImgNote(String imgNote) {
		this.imgNote = imgNote;
	}
	
	@Length(min=0, max=11, message="图片序号长度必须介于 0 和 11 之间")
	public String getImgRank() {
		return imgRank;
	}

	public void setImgRank(String imgRank) {
		this.imgRank = imgRank;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@Length(min=0, max=200, message="自媒体类别长度必须介于 0 和 200 之间")
	public String getMediaCategory() {
		return mediaCategory;
	}

	public void setMediaCategory(String mediaCategory) {
		this.mediaCategory = mediaCategory;
	}
	
	@Length(min=0, max=200, message="企业类别长度必须介于 0 和 200 之间")
	public String getEnterpriseCategory() {
		return enterpriseCategory;
	}

	public void setEnterpriseCategory(String enterpriseCategory) {
		this.enterpriseCategory = enterpriseCategory;
	}
	
	@Length(min=0, max=200, message="城市类别长度必须介于 0 和 200 之间")
	public String getCityCategory() {
		return cityCategory;
	}

	public void setCityCategory(String cityCategory) {
		this.cityCategory = cityCategory;
	}
	
	@Length(min=0, max=200, message="传统类别长度必须介于 0 和 200 之间")
	public String getTraditionCategory() {
		return traditionCategory;
	}

	public void setTraditionCategory(String traditionCategory) {
		this.traditionCategory = traditionCategory;
	}
	
	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}
	
	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}
		
}